package com.moma.chatting.dao;

import java.util.Date;

public class Person {   
    private int id = 0;   
    private String name = "";   
    private String sex = "male";   
    private Date birthday = null;   
  
    public Person(){
    	
    }
    public Person(int id, String name, String sex, Date d) {   
    	this.id = id;
    	this.name = name;
    	this.sex = sex;
    	this.birthday = d;
    }   
  
    //省略getter 和 setter 方法   
       
    @Override  
    public String toString() {   
        return "id=" + id + "\t" + "name=" + name + "\t" + "sex=" + sex + "\t"  
                + "birthday=" + new java.sql.Date(birthday.getTime()).toString();   
    }   
  
}  
